<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="c"  uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@taglib prefix="page"  uri="/tags/fenye.tld" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<c:set var="webpath" value="${pageContext.request.contextPath}"></c:set>
<html>
  <head>
    <base href="<%=basePath%>">
     
    <title>My JSP 'clientAdd.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
  </head>

  <body>
    <table  cellspacing="0" summary="The technical specifications of the Apple  PowerMac G5 series">
   	<tr><th >id</th><th>中间件服务端ip地址</th><th>授权手机IMEI号</th><th>创建日期</th><th colspan="1">操作</th></tr>
    <c:forEach items="${page.data}" var="obj" varStatus="status"> 
     <tr>
     <td class="row">${obj.id }</td>
     <td class="row">${obj.clientIp }</td>
     <td class="row">${obj.imei }</td>
     <td class="row"><fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss" value="${obj.createDate }"/></td>
     <td class="row"><a href="${webpath}/user/removePhoneAuthUserAction.action?id=${obj.id }">删除</a></td>
     </tr>
   </c:forEach>
    </table>
       		<page:fenye onclick="gotoPage()"  pageCount="${page.totalPages}" pageSize="20"  currentPage="${page.currentPage}" />
  </body>
</html>
